package com.atguigu.gmall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * ClassName: MqDemoApp
 * Package: com.atguigu.gmall
 * Description:
 *
 * @Author 刘轩
 * @Create 2023-09-04 10:23
 * @Version 1.0
 */


@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//取消数据源自动配置
@EnableDiscoveryClient
public class MqDemoApp {

 public static void main(String[] args) {
  SpringApplication.run(MqDemoApp.class, args);
 }
}